.pages{
  margin-top:30px;
}

.username{
  margin:40px 10px 0 0;
  cursor: pointer;
  .el-dropdown-link{
    color:#333 !important;
    font-size:18px !important;
  }
}

.username-dropdown{
  .el-dropdown-menu__item{
    min-width:50px;
    text-align: center;
  }
  margin-right:-10px !important;
}

.banner{
  img{
    width:100%;
  }
}

// 表格
.el-table thead th{
  background:#f2f2f2;
}

.el-message__closeBtn{
  color:#333 !important;
  font-size:18px !important;
}

[v-cloak] {
  display: none;
}
//.el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{
//  border-right: 1px solid #e6e6e6;
//}
//
//.el-table td, .el-table th.is-leaf{
//  border-bottom: 1px solid #e6e6e6;
//}

// 登录页面
.login{
  font-size:14px;

  .banner{
    margin-top:10px;
  }

  .banner img{
    width:100%;
  }

  .login-form{
    width:640px;
    margin:60px auto 0;
  }

  .forget-pwd{
    margin-top:30px;
  }

  .login-btn{
    width:100%;
    margin-top:20px !important;
  }


  .supplier{
    text-align: center;
    margin-top:50px;
    padding-left:100px;
  }

  .supplier-link{

  }
}

// 供应商注册
.supplier-reg-form{
  margin-top:30px;

  // 选中的图片
  .file-pic{
    position:relative;
    width:200px;
    height:200px;
    overflow:hidden;

    img{
      width:100%;
    }

    .delete{
      position: absolute;
      top:-30px;
      left:0;
      width:100%;
      height:30px;
      background:rgba(0,0,0,0.6);
      transition: all .25s;
      opacity: 0;
      //display:none;

      .el-icon-delete{
        position:absolute;
        z-index:1;
        top:7px;
        right:10px;
        color:#fff;
        font-size:16px;
        cursor: pointer;
      }
    }

    &:hover{
      .delete{
        top:0;
        opacity: 1;
      }
    }
  }

  .file-picker{
    position:relative;
    display:block;
    width:199px;
    height:199px;
    border:1px dashed #d9d9d9;
    border-radius: 2px;
    text-align: center;
    line-height:199px;

    .el-icon-plus{
      font-size:30px;
      color:#999;
    }
  }

  //.image-file-btn{
  //  //position:absolute;
  //  //left:0;
  //  //top:0;
  //  //width:100%;
  //  //height:100%;
  //  opacity: 0;
  //  filter:alpha(opacity=0);
  //}

  .webuploader-container {
    position: relative;
  }
  .webuploader-element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px,1px,1px,1px);
  }
  .webuploader-pick {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding:0;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
    font-size:14px;
    width: 199px;
    height:199px;
    line-height: 199px;
  }
  .webuploader-pick-disable {
    opacity: 0.6;
    pointer-events:none;
  }

  .reg-btn{
    width:540px;
    margin:0 auto;
  }
}

// main主页
.main-page{
  .nav-box{
    margin-top:50px;
    text-align: center;
  }

  .intro-link{
    font-size:14px;
    color:#606266;
    text-decoration: none;
  }

  .el-dropdown-link{
    cursor:pointer;
  }
}

.el-dropdown-menu {
  .el-dropdown-menu__item{
    a{
      text-decoration: none;
      color:#666;
    }
  }
}


//介绍
.intro-page{

  h1{
    padding:20px 0;
    font-size:40px;
    color:#333;
    margin:0 0 0 -110px;
  }

  .cont{
    margin-top:10px;
    .txt{
      width:549px;
      border-right:1px solid #ddd;

      h3{
        font-size:20px;
        color:#666;
        display:inline-block;
        width:100px;
        padding-bottom:15px;
        border-bottom:1px solid #ddd;
      }
      li{
        padding-right:40px;
        font-size:16px;
        line-height:30px;
        margin-top:20px;
        color:#666;
      }
    }

    .pic{
      width:650px;
      margin-top:30px;

      img{
        width:100%;
        height:100%;
      }
    }
  }
}

//订单下载页面
.order-down-page{
  .btn-box{
    margin-top:30px;
  }

  .order-down-btn{
    width:220px;
  }

  .tip{
    color:#999;
    font-size:12px;
  }

  .upload{
    .filePath{
      width:400px;
      vertical-align: middle;
    }

    .webuploader-container {
      position: relative;
      display:inline-block;
      vertical-align: middle;
    }
    .webuploader-element-invisible {
      position: absolute !important;
      clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
      clip: rect(1px,1px,1px,1px);
    }
    .webuploader-pick {
      position: relative;
      display: inline-block;
      cursor: pointer;
      background: #00a2d4;
      padding:0;
      color: #fff;
      text-align: center;
      border-radius: 3px;
      overflow: hidden;
      font-size:14px;
      width: 160px;
      height:40px;
      line-height: 40px;
    }
    .webuploader-pick-hover {
      background: #66b1ff;
    }

    .webuploader-pick-disable {
      opacity: 0.6;
      pointer-events:none;
    }

    .start-upload-box{
      margin-top:30px;

      .start-upload-btn{
        width:300px;
      }
    }

    .tip{
      display:inline-block;
    }
  }
}

//订单历史页面
.order-history-page{
  margin-bottom:100px;
  .banner{
    img{
      width:100%;
    }
  }
  .history-form{
    margin-top:30px;

    .el-input{
      width:225px;
    }

    &.history-form1{
      .el-input{
        width:175px;
      }
    }

    .el-date-editor{
      width:152px;
    }

    .search-form-item{
      margin-right:0;
    }
    .search-btn{
      width:127px;
    }
  }

  .history-list{
    margin-top:20px;

    td{
      padding:8px 0;
    }
  }
}

// asn上传
.asn-upload-page{
  .upload{
    margin-top:30px;

    .filePath{
      width:400px;
      vertical-align: middle;
    }

    .webuploader-container {
      position: relative;
      display:inline-block;
      vertical-align: middle;
    }
    .webuploader-element-invisible {
      position: absolute !important;
      clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
      clip: rect(1px,1px,1px,1px);
    }
    .webuploader-pick {
      position: relative;
      display: inline-block;
      cursor: pointer;
      background: #00a2d4;
      padding:0;
      color: #fff;
      text-align: center;
      border-radius: 3px;
      overflow: hidden;
      font-size:14px;
      width: 160px;
      height:40px;
      line-height: 40px;
    }
    .webuploader-pick-hover {
      background: #66b1ff;
    }

    .webuploader-pick-disable {
      opacity: 0.6;
      pointer-events:none;
    }

    .start-upload-box{
      margin-top:30px;

      .start-upload-btn{
        width:300px;
      }
    }


  }
}

// asn 历史
.asn-history-page,.asn-add-page{
  margin-bottom:100px;
  .banner{
    img{
      width:100%;
    }
  }
  .history-form{
    margin-top:30px;

    .el-input{
      width:183px;
    }

    .el-date-editor{
      width:152px;
    }

    .el-date-editor--daterange.el-input__inner{
      width:326px
    }

    .search-btn{
      width:114px;
    }
  }
  td{
    padding:8px 0 !important;
  }
}

.asn-add-page{
  .btn-box{
    text-align:right;
    margin-top:20px;
  }

  .history-list{
    margin-top:20px;
  }

  td{
    .el-input__inner{
      height:30px;
      line-height:30px;
      padding:0 5px;
    }

    .el-input__icon{
      line-height:30px;
    }

    .el-date-editor.el-input{
      line-height:30px;
      width:130px;
      .el-input__inner{
        padding-left:30px;
      }
    }

    .delete{
      color:#409EFF;
      cursor: pointer;
    }
  }

}

